Skip to content

fix(release): the Mac build retries when Apple's timestamp server drops a signature - #994

Merged
badcuban merged 1 commit into
mainfrom
fix/mac-signing-timestamp-retry
Nov 18, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/mac-signing-timestamp-retry

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

The Nov 17 nightly failed in the macOS job. codesign printed "A timestamp was expected but was not found" while signing one Electron locale file. Apple's timestamp server drops a request now and then, and the same signature works on the next try. Our packaging retry only knew network errors, so the job failed on the first attempt.

retryTransientElectronPackaging now also retries on codesign's two timestamp-server messages, with the same limit of two retries. Each electron-builder run re-extracts Electron and signs from scratch, so a retry never starts from a half-signed app. A new test in build-desktop-artifact.test.ts covers it.

…ps a signature

The Nov 17 nightly failed in the macOS job when codesign printed
"A timestamp was expected but was not found" for one Electron locale
file. Apple's timestamp server drops requests now and then, and the same
signature works on the next try. The packaging retry only knew network
errors, so it failed on the first attempt.

retryTransientElectronPackaging now also retries on codesign's two
timestamp-server messages, with the same two-retry limit.
@vercel

vercel Bot commented Nov 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 18, 2026 5:14pm UTC

Request Review

@badcuban
badcuban enabled auto-merge November 18, 2026 17:14
@badcuban
badcuban added this pull request to the merge queue Nov 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 18, 2026
@badcuban
badcuban added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 00b1635 Nov 18, 2026
21 checks passed
@badcuban
badcuban deleted the fix/mac-signing-timestamp-retry branch November 18, 2026 17:37

This branch was previously deployed

1 inactive deployment
Preview — c640b708 Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant